package cn.minhx.lab.design_patterns.visitor.f2.visitor;

import cn.minhx.lab.design_patterns.visitor.f2.user.impl.Student;
import cn.minhx.lab.design_patterns.visitor.f2.user.impl.Teacher;

public interface Visitor {

    // 访问学生信息
    void visit(Student student);

    // 访问老师信息
    void visit(Teacher teacher);

}